What is who wrote 30 days in the hole?

"30 Days in the Hole" is a song written by Steve Marriott, the lead vocalist and guitarist of the British rock band Humble Pie. The song was released in 1972 and appears on Humble Pie's album, "Smokin'". Marriott wrote the song about his experience serving time in prison for drugs possession, and the song's lyrics describe the boredom and isolation of being locked up for 30 days. The song has since become a classic rock staple and has been covered by several other artists.